package com.eflow.engine.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @CLASSNAME EflowActRunInstMapper
 * @Description
 * @Auther JanHezz
 * @BLOG www.luckyhe.com
 * @DATE 2021/3/3 17:20
 */
@Mapper
public interface EflowActRunInstMapper {

     /**
     * 删除节点信息
     * @param ids ids
     */
     @Delete({"<script>",
             "  delete from act_ru_actinst where ID_ in\n" +
                     "        <foreach item=\"item\" index=\"index\" collection=\"list\" open=\"(\" separator=\",\" close=\")\">\n" +
                     "            #{item}\n" +
                     "        </foreach>",
             "</script>"})
    public void deleteRunActinstsByIds(List<String> ids) ;
}
